package main

import "fmt"

type Debug struct {
	host string
}

func NewDebugger(h string) *Debug {

	host = h
	return &Debug{
		host: host,
	}
}

func (d *Debug) UnlockFilmEpisode(filmId, get_price int, episodes, deviceId string, auto string) {

	fmt.Println(unlockFilmEpisode(filmId, get_price, episodes, deviceId, auto))
}

func debugRun() {

	debugger := NewDebugger("http://192.168.1.138:10088/")

	var (
		filmId   = 39
		getPrice = 0
		episodes = "5,6"
		//deviceId = "xxx"
		deviceId = "0BF03B67330EF955D519DFB6A902D3C49E06FF26"
		auto     = "0"
	)
	debugger.UnlockFilmEpisode(filmId, getPrice, episodes, deviceId, auto)
}
